Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Answers for Swift Online Test - Online Exam - Online Quiz - Mock Test

←Go Back to Online Practice Test

Ques. What is the syntax for declaring a constant in Swift?
Option 1. let myConstant = 10
Option 2. var myConstant = 10
Option 3. const myConstant = 10
Option 4. constant myConstant = 10

Ans. Option 1

Please provide the reason below. The best provided reason will be displayed with your name(if you are logged-in) on website.
Enter Reason
 
Is it helpful? Yes No
©2024 WithoutBook